﻿namespace ChessToys.ChessController
{
    using System;
    using ChessToys;

    /// <summary>
    /// Chess controller.
    /// </summary>
    public interface IChessController
    {
        /// <summary>
        /// Calculates the next <see cref="Move"/> for the givne <see cref="Board"/>.
        /// </summary>
        /// <param name="board">The board.</param>
        /// <returns>The next move.</returns>
        Move NextMove(Board board);

        String Name
        {
            get;
        }
    }
}
